Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Query Parameters
This parameter set to true will ask only for verifying vouchers' validation rules only against conditions applied to audiences' attributes (belonging into segment, customer metadata, customer redemption count). The remaining checks against limits and rules will be omitted during validation.
The number of vouchers to be qualified.
1 <= x <= 50
Sorts the results using one of the filtering options, where the dash -
means sorting in a descending order.
created_at
, -created_at
, updated_at
, -updated_at
, code
, -code
Body
Should contain given customer and context such as an order.
Request body schema for /vouchers/qualification.
This object stores customer details. You can send this object in the request body to check against vouchers requiring specific customer validation rules to be satisfied. The qualification runs against rules that are defined through the Create Validation Rules endpoint or via the Dashboard; in the Advanced Rule Builder → Audience → Customer segment or Basic Builder → Customer Activity. Read more.
Tracks purchase transactions. You can send the order in the request body to check against vouchers requiring specific order validation rules to be satisfied. The qualification runs against rules that are defined through the <!-- [Create Validation Rules](https://docs.voucherify.io/reference/create-validation-rules) -->Create Validation Rules endpoint or via the Dashboard; in the Advanced Rule Builder → Order structure/Order volume or Basic Builder → Order. Read more.
A set of key/value pairs that you can send in the request body to check against vouchers requiring redemption metadata validation rules to be satisfied. The qualification runs against rules that are defined through the <!-- [Create Validation Rules](https://docs.voucherify.io/reference/create-validation-rules) -->Create Validation Rules endpoint or via the Dashboard; in the Advanced Rule Builder → Advanced → Redemption metadata satisfy or Basic Builder → Attributes match → REDEMPTION METADATA. Read more.
Response
This operation returns the list of valid and active vouchers based on the qualification of given context (e.g., customer profile, redemptions metadata, order).
Response body schema for vouchers/qualification
The type of the object represented by JSON. Default is list
.
Identifies the name of the attribute that contains the array of qualified vouchers.
Array of qualified vouchers.
Total valid and active vouchers matching the qualification criteria in given context.
37
Unique qualification ID.
"qfl_nAMVLoxIqSLh9O6YmfoAXRPG"
Timestamp representing the date and time when the qualification was created. The value is shown in the ISO 8601 format.
"2022-02-25T13:32:08.734Z"
Hashed customer source ID.